package com.example.combwyaq.mvp.contract;


import com.example.combwyaq.mvp.model.entity.BaseEntity;
import com.example.combwyaq.mvp.model.IModel;
import com.example.combwyaq.mvp.viwe.IView;

import java.util.Map;

import io.reactivex.Observable;

public interface SplashContract {
    /*启屏页model*/
    interface ISplashModel extends IModel{
        /*生成请求token接口的被观察这*/
        Observable<BaseEntity> requestToken(Map<String,Object> map);

    }
    /*启屏页View*/
    interface ISplashView extends IView{
        /*请求完成后-》回调通知acativity进行界面跳转*/
        void refresh();
    }

}
